package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.AcContractInfo;

/**
 * 合同台账Service接口
 *
 * @author ruoyi
 * @date 2025-02-18
 */
public interface IAcContractInfoService
{
    /**
     * 查询合同台账
     *
     * @param contractId 合同台账主键
     * @return 合同台账
     */
    public AcContractInfo selectAcContractInfoByContractId(Long contractId);

    /**
     * 查询合同台账列表
     *
     * @param acContractInfo 合同台账
     * @return 合同台账集合
     */
    public List<AcContractInfo> selectAcContractInfoList(AcContractInfo acContractInfo);
    public List<AcContractInfo> selectAcContractInfoMonthList(AcContractInfo acContractInfo);
    public List<AcContractInfo> selectAcContractInfoSeasonList(AcContractInfo acContractInfo);


    /**
     * 新增合同台账
     *
     * @param acContractInfo 合同台账
     * @return 结果
     */
    public int insertAcContractInfo(AcContractInfo acContractInfo);

    /**
     * 修改合同台账
     *
     * @param acContractInfo 合同台账
     * @return 结果
     */
    public int updateAcContractInfo(AcContractInfo acContractInfo);

    /**
     * 批量删除合同台账
     *
     * @param contractIds 需要删除的合同台账主键集合
     * @return 结果
     */
    public int deleteAcContractInfoByContractIds(Long[] contractIds);

    /**
     * 删除合同台账信息
     *
     * @param contractId 合同台账主键
     * @return 结果
     */
    public int deleteAcContractInfoByContractId(Long contractId);
}
